<!--
 * @Description: 资源管理---运维资源---应用目录
 * @Author: 魏勇
 * @Date: 2020-03-09 15:36:26
 * @LastEditTime: 2020-03-31 18:16:32
 * @LastEditors: 魏勇
 -->
<template>
    <div class="warnNotice" style="padding: 0 15px;">
        <el-row class="el-query-bar" :gutter="12">

        </el-row>
        <!--        表格-->
        <el-row style="padding-top: 2px;">
            <el-table-ctl :selectBox="false" :params="queryParams" :maxHeight="maxHeight" ref="tableObj" :cols="gridCols"></el-table-ctl>
        </el-row>


    </div>
</template>

<script>
    import gridCols  from './data/domainCols.js';
    import elTableCtl from "../devOpsResource/components/el-table-ctl";

    export default {
        name: "warnNotice",
        components: {
            elTableCtl
        },
        beforeCreate(){

        },
        computed: {

        },
        data() {
            return {
                maxHeight: parseFloat(document.body.clientHeight) - 180,
                queryParams:{},
                gridCols:gridCols
            }
        },
        created() {

        },
        beforeMount() {
            // _initColWidth(this.cols);
        },
        mounted() {
            this.$refs.tableObj.addRow({time:'2020-03-09',detail:"\n" +
                    "换一换百度热榜\n" +
                    "1张文宏谈西方国家群体免疫\t486万\n" +
                    "2哈尔滨市民可自愿预约核酸检测\t469万\n" +
                    "3美众议院议长揭特朗普七宗罪\t452万\n" +
                    "4鲍毓明养女坚决否认恋爱关系\t437万\n" +
                    "5魏大勋恋情曝光后首露面\t421万\n" +
                    "6瑞德西韦中国两项临床试验终止新\t407万\n" +
                    "7N号房18岁共犯身份将被公开新\t392万\n" +
                    "8张文宏建议孩子吃2样东西\t379万\n" +
                    "9动物园让黑猩猩戴口罩骑车消毒新\t365万\n" +
                    "10直击千岛湖水下古城\t352万\n" +
                    "11多地推行2.5天休假\t340万\n" +
                    "12五角大楼花4.15亿美元清洗N95口罩\t328万\n" +
                    "13温州发18亿元消费券\t317万\n" +
                    "14美国新冠肺炎确诊约63.5万例\t306万\n" +
                    "15瓦妮莎发文怒斥美国媒体\n" +
                    "换一换百度热榜\n" +
                    "1张文宏谈西方国家群体免疫\t486万\n" +
                    "2哈尔滨市民可自愿预约核酸检测\t469万\n" +
                    "3美众议院议长揭特朗普七宗罪\t452万\n" +
                    "4鲍毓明养女坚决否认恋爱关系\t437万\n" +
                    "5魏大勋恋情曝光后首露面\t421万\n" +
                    "6瑞德西韦中国两项临床试验终止新\t407万\n" +
                    "7N号房18岁共犯身份将被公开新\t392万\n" +
                    "8张文宏建议孩子吃2样东西\t379万\n" +
                    "9动物园让黑猩猩戴口罩骑车消毒新\t365万\n" +
                    "10直击千岛湖水下古城\t352万\n" +
                    "11多地推行2.5天休假\t340万\n" +
                    "12五角大楼花4.15亿美元清洗N95口罩\t328万\n" +
                    "13温州发18亿元消费券\t317万\n" +
                    "14美国新冠肺炎确诊约63.5万例\t306万\n" +
                    "15瓦妮莎发文怒斥美国媒体"});
        },
        watch: {},
        methods: {

        }
    };
</script>
